package map;

/**
 * 映射
 *
 * @author: yxyi
 * @mail: yxyi@iflytek.com
 * @date: 2019-01-12
 */
public interface Map<K, V> {
    void add(K key, V value);
    V remove(K key);
    boolean contains(K key);
    V get(K key);
    void set(K key, V value);
    boolean isEmpty();
    int getSize();
}
